#include "SplitSlaveData.h"

class SplitServerData
{
public:
	void sendToClient(int msgsock);
	int getMarkID(int n);
	void RePackData();
	SplitServerData(int size);
	~SplitServerData();
	void load(int n);
private:
	void saveToDebugFile(char *f, int *ptri, int ctri, float *pplo, int cplo);
	int addMark(int n, int cPlots, int cTriangles);
//	int addMark(int n);
	SplitSlaveData *ssld;
	int size;
	int *pMarks_total;
	int *pcPlots_total;
	int *pcTriangles_total;
	int cPlots_total;
	int cTriangles_total;
	int cMarks_total;
	float **p_all_plots;
	int **p_all_tri;
};
